[INFO] cloning repository https://github.com/Peekmo/rust-xslgen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Peekmo/rust-xslgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeekmo%2Frust-xslgen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeekmo%2Frust-xslgen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 97a8c1c096ce79e5b63e21cff0451075f5a91366
[INFO] building Peekmo/rust-xslgen against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeekmo%2Frust-xslgen" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Peekmo/rust-xslgen on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Peekmo/rust-xslgen
[INFO] finished tweaking git repo https://github.com/Peekmo/rust-xslgen
[INFO] tweaked toml for git repo https://github.com/Peekmo/rust-xslgen written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/Peekmo/rust-xslgen already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55bef96fa7670d36ae33bd6b512ac4ccaaf487d3203081bd6f7dc820c7fe58a2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "55bef96fa7670d36ae33bd6b512ac4ccaaf487d3203081bd6f7dc820c7fe58a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55bef96fa7670d36ae33bd6b512ac4ccaaf487d3203081bd6f7dc820c7fe58a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55bef96fa7670d36ae33bd6b512ac4ccaaf487d3203081bd6f7dc820c7fe58a2", kill_on_drop: false }`
[INFO] [stdout] 55bef96fa7670d36ae33bd6b512ac4ccaaf487d3203081bd6f7dc820c7fe58a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 478f9dd5c2b8501bfc5ec5d46b3fbc51aa982fee64c696fbd5f74248c3e54f07
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "478f9dd5c2b8501bfc5ec5d46b3fbc51aa982fee64c696fbd5f74248c3e54f07", kill_on_drop: false }`
[INFO] [stderr]    Compiling xslgen v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/main.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/process.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: malformed `stable` attribute input
[INFO] [stdout]  --> src/process.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[stable]
[INFO] [stdout]   | ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: malformed `unstable` attribute input
[INFO] [stdout]   --> src/process.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[unstable]
[INFO] [stdout]    | ^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: malformed `stable` attribute input
[INFO] [stdout]   --> src/process.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[stable]
[INFO] [stdout]    |     ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: malformed `unstable` attribute input
[INFO] [stdout]   --> src/process.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     #[unstable]
[INFO] [stdout]    |     ^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: malformed `stable` attribute input
[INFO] [stdout]   --> src/process.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[stable]
[INFO] [stdout]    |     ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/process.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::fs::File;
[INFO] [stdout]   |              ^^ could not find `fs` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::path::posix`
[INFO] [stdout]  --> src/process.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::posix::Path;
[INFO] [stdout]   |                ^^^^^ could not find `posix` in `path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::IoError`
[INFO] [stdout]  --> src/process.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::IoError;
[INFO] [stdout]   |     ^^^^^^^^^-------
[INFO] [stdout]   |     |        |
[INFO] [stdout]   |     |        help: a similar name exists in the module: `Error`
[INFO] [stdout]   |     no `IoError` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/xsl.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 75 |     for _ in range(0, *nb) {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut args = os::args();
[INFO] [stdout]    |                        ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 4  | use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/process.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let mut file = try!(File::open(&Path::new(self.input_arg.as_slice())));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/process.rs:57:23
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let content = try!(file.read_to_string());
[INFO] [stdout]    |                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library
[INFO] [stdout]  --> src/process.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[stable]
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library
[INFO] [stdout]   --> src/process.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[unstable]
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library
[INFO] [stdout]   --> src/process.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[stable]
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library
[INFO] [stdout]   --> src/process.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     #[unstable]
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0734]: stability attributes may not be used outside of the standard library
[INFO] [stdout]   --> src/process.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[stable]
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[&str]` cannot be indexed by `&{integer}`
[INFO] [stdout]   --> src/main.rs:26:31
[INFO] [stdout]    |
[INFO] [stdout] 26 |         match *argument.index(&0) {
[INFO] [stdout]    |                               -^
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |                               help: consider removing the leading `&`-reference
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[&str]>` is not implemented for `&{integer}`
[INFO] [stdout]    = note: required because of the requirements on the impl of `Index<&{integer}>` for `Vec<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:28:45
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 process.input_arg = String::from_str(argument.index(&1).clone());
[INFO] [stdout]    |                                             ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 4  | use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[&str]` cannot be indexed by `&{integer}`
[INFO] [stdout]   --> src/main.rs:28:69
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 process.input_arg = String::from_str(argument.index(&1).clone());
[INFO] [stdout]    |                                                                     -^
[INFO] [stdout]    |                                                                     |
[INFO] [stdout]    |                                                                     slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |                                                                     help: consider removing the leading `&`-reference
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[&str]>` is not implemented for `&{integer}`
[INFO] [stdout]    = note: required because of the requirements on the impl of `Index<&{integer}>` for `Vec<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:32:52
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 process.output_arg  = Some(String::from_str(argument.index(&1).clone()));
[INFO] [stdout]    |                                                    ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 4  | use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[&str]` cannot be indexed by `&{integer}`
[INFO] [stdout]   --> src/main.rs:32:76
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 process.output_arg  = Some(String::from_str(argument.index(&1).clone()));
[INFO] [stdout]    |                                                                            -^
[INFO] [stdout]    |                                                                            |
[INFO] [stdout]    |                                                                            slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |                                                                            help: consider removing the leading `&`-reference
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[&str]>` is not implemented for `&{integer}`
[INFO] [stdout]    = note: required because of the requirements on the impl of `Index<&{integer}>` for `Vec<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[&str]` cannot be indexed by `&{integer}`
[INFO] [stdout]   --> src/main.rs:34:63
[INFO] [stdout]    |
[INFO] [stdout] 34 |             _ => panic!("Unknown argument {}", argument.index(&0))
[INFO] [stdout]    |                                                               -^
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |                                                               help: consider removing the leading `&`-reference
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[&str]>` is not implemented for `&{integer}`
[INFO] [stdout]    = note: required because of the requirements on the impl of `Index<&{integer}>` for `Vec<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]   --> src/process.rs:30:32
[INFO] [stdout]    |
[INFO] [stdout] 30 |             input_arg: String::from_str(""),
[INFO] [stdout]    |                                ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]            `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]   --> src/process.rs:43:32
[INFO] [stdout]    |
[INFO] [stdout] 43 |             return Err(String::from_str("No input file found (option --file=path/to/file.xslg)"));
[INFO] [stdout]    |                                ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]            `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/process.rs:56:66
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let mut file = try!(File::open(&Path::new(self.input_arg.as_slice())));
[INFO] [stdout]    |                                                                  ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]   --> src/process.rs:67:44
[INFO] [stdout]    |
[INFO] [stdout] 67 |                         lines.push(String::from_str(line.trim()));
[INFO] [stdout]    |                                            ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]            `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:153:144
[INFO] [stdout]     |
[INFO] [stdout] 153 | ...ne. Attribute {} is not closed", attribute.key).as_slice()); }
[INFO] [stdout]     |                                                    ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:226:67
[INFO] [stdout]     |
[INFO] [stdout] 226 | ...                   let mut content = String::from_str(self.buffer.trim());
[INFO] [stdout]     |                                                 ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:231:101
[INFO] [stdout]     |
[INFO] [stdout] 231 | ...                   let mut attribute = Box::new(Attribute::new(String::from_str("test")));
[INFO] [stdout]     |                                                                           ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:236:101
[INFO] [stdout]     |
[INFO] [stdout] 236 | ...                   let mut attribute = Box::new(Attribute::new(String::from_str("select")));
[INFO] [stdout]     |                                                                           ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `&RangeFrom<usize>`
[INFO] [stdout]    --> src/parser.rs:273:76
[INFO] [stdout]     |
[INFO] [stdout] 273 | ...                   if !self.buffer.is_empty() && (self.buffer.index(&RangeFrom {start: self.buffer.len() - 1}) == "\\") {
[INFO] [stdout]     |                                                                  ^^^^^ `String` cannot be indexed by `&RangeFrom<usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Index<&RangeFrom<usize>>` is not implemented for `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:310:43
[INFO] [stdout]     |
[INFO] [stdout] 310 |                     '@' => { Some(String::from_str("xsl")) },
[INFO] [stdout]     |                                           ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:323:35
[INFO] [stdout]     |
[INFO] [stdout] 323 |                 match self.buffer.as_slice() {
[INFO] [stdout]     |                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:330:40
[INFO] [stdout]     |
[INFO] [stdout] 330 |                         if self.buffer.as_slice() == "if" {
[INFO] [stdout]     |                                        ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:331:76
[INFO] [stdout]     |
[INFO] [stdout] 331 | ...                   let node_choose = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("choose")));
[INFO] [stdout]     |                                                                      ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:331:107
[INFO] [stdout]     |
[INFO] [stdout] 331 | ...                   let node_choose = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("choose")));
[INFO] [stdout]     |                                                                                                     ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:335:70
[INFO] [stdout]     |
[INFO] [stdout] 335 |                         let node_when = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("when")));
[INFO] [stdout]     |                                                                      ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:335:101
[INFO] [stdout]     |
[INFO] [stdout] 335 |                         let node_when = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("when")));
[INFO] [stdout]     |                                                                                                     ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:344:75
[INFO] [stdout]     |
[INFO] [stdout] 344 |                         let node_otherwise = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("otherwise")));
[INFO] [stdout]     |                                                                           ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:344:106
[INFO] [stdout]     |
[INFO] [stdout] 344 |                         let node_otherwise = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("otherwise")));
[INFO] [stdout]     |                                                                                                          ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:352:73
[INFO] [stdout]     |
[INFO] [stdout] 352 |                         let node_foreach = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("for-each")));
[INFO] [stdout]     |                                                                         ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:352:104
[INFO] [stdout]     |
[INFO] [stdout] 352 |                         let node_foreach = Node::new(self, Some(String::from_str("xsl")), Some(String::from_str("for-each")));
[INFO] [stdout]     |                                                                                                        ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]             `use std::str::FromStr;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/parser.rs:428:108
[INFO] [stdout]     |
[INFO] [stdout] 428 | ...                   self.parsing_error(format!("Unexpected character - Expected '[' or '{}'", "{").as_slice());
[INFO] [stdout]     |                                                                                                      ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/xsl.rs:29:69
[INFO] [stdout]    |
[INFO] [stdout] 29 |             string.push_str(format!(" {}={}", attr.key, attr.value).as_slice());
[INFO] [stdout]    |                                                                     ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope
[INFO] [stdout]   --> src/xsl.rs:39:47
[INFO] [stdout]    |
[INFO] [stdout] 39 |                         string.push_str(value.as_slice());
[INFO] [stdout]    |                                               ^^^^^^^^ method not found in `&String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/xsl.rs:66:74
[INFO] [stdout]    |
[INFO] [stdout] 66 |         Some(ref namespace) => string.push_str(format!("{}:", namespace).as_slice()),
[INFO] [stdout]    |                                                                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/xsl.rs:70:31
[INFO] [stdout]    |
[INFO] [stdout] 70 |     string.push_str(node.name.as_slice());
[INFO] [stdout]    |                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0599, E0734.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xslgen`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "478f9dd5c2b8501bfc5ec5d46b3fbc51aa982fee64c696fbd5f74248c3e54f07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "478f9dd5c2b8501bfc5ec5d46b3fbc51aa982fee64c696fbd5f74248c3e54f07", kill_on_drop: false }`
[INFO] [stdout] 478f9dd5c2b8501bfc5ec5d46b3fbc51aa982fee64c696fbd5f74248c3e54f07
